<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>判断考试成绩是否及格</title>
</head>
<body>
    <script>
        document.write("<pre>")
        var a =65;
        document.write("周星星："+a+"分\n")
        b=a>=60?"及格":"不及格"
        document.write("成绩等级:"+b);
        document.write("</pre>")
    </script>
</body>
</html>